import request from "@/utils/request"
import { Menu, MenuListParams } from "@/types/menu"

/**
 * 获取菜单列表
 * @param params
 */
export const getMenuList = (params: MenuListParams) => {
  return request.post<Menu[]>("/api/client/menus/list", params);
}